package com.thz.common.core.constants;

/**
 * @Description
 * @Author thz
 * @Date 2024/11/25
 */
public class RedisConstants {
    // B端用户登入
    public static final String B_USER_LOGIN_TOKEN_KEY = "login:token";
    public static final Long B_USER_LOGIN_TOKEN_TTL = 1440L;
    public static final Long REFRESH_TTL = 180L;

    // C端用户登入
    public static final String C_USER_LOGIN_CODE_KEY = "login:code";
    public static final String C_USER_LOGIN_CODE_TIME_KEY = "login:code:time";
    public static final String C_USER_DETAIL_KEY = "detail:user";

}